package com.un.ebs.order.dto;

import com.un.ebs.core.metadata.MetadataField;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Add dto.
 * </p>
 *
 * @author liubo
 * @since 2019-11-16
 */
@Data
public class OrderAddDto  {

    @NotNull(message = "客户不能为空。")
    private String custId;

    @NotNull(message = "客户联系人名称不能为空。")
    private String linkman;

    @NotNull(message = "联系电话不能为空。")
    private String linkmanPhone;

    private String linkmanAdd;

    private String defunctId;

    private String defunctTombSkuId;

    private String personnelId;

    @NotNull
    private List<OrderItemDto> items;

    private String remark;

    private String traceId;

}